package com.peng.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class AdminController {
    //课程活动
    @GetMapping("/admin/admin-course-activites")
    public String toAdmin_adminCourseActivites() {
        return "admin/admin-course-activites";
    }

    //网站链接
    @GetMapping("/admin/admin-website-link")
    public String toAdmin_adminWebsiteLink() {
        return "admin/admin-website-link";
    }

    //管理员登录成功页面
    @GetMapping("/admin/login")
    public String toAdminLogin() {
        return "admin-login";
    }

    //讲师管理
    @GetMapping("/admin/admin-teacher")
    public String toAdminAdmin_teacher() {
        return "admin/admin-teacher";
    }

    //用户管理
    @GetMapping("/admin/admin-user")
    public String toAdminAdmin_user() {
        return "admin/admin-user";
    }

    //托福人
    @GetMapping("/admin/admin-toefl-people")
    public String toAdminAdmin_toefl_people() {
        return "admin/admin-toefl-people";
    }

    //群组聊天
    @GetMapping("/admin/admin-group")
    public String toAdminAdmin_group() {
        return "admin/admin-group";
    }

    //公开课
    @GetMapping("/admin/admin-open-course")
    public String toAdminAdmin_open_course() {
        return "admin/admin-open-course";
    }

    //福利城堡
    @GetMapping("/admin/admin-welfare-castle")
    public String toAdminAdmin_welfare_castle() {
        return "admin/admin-welfare-castle";
    }
}
